package com.bawei.module_message.ui

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.annotation.Route
import com.bawei.lib_common.Router
import com.bawei.lib_common.base.BaseFragment
import com.bawei.lib_common.base.BaseViewModel
import com.bawei.module_message.R
import com.bawei.module_message.databinding.FragmentMessageBinding
@Route(path = Router.Ui.MessageFragment)
class MessageFragment : BaseFragment<BaseViewModel,FragmentMessageBinding>() {
    override val mLayoutResId: Int
        get() = R.layout.fragment_message


    override fun initListener() {
        mBinding.crash.setOnClickListener {
            Utils.chu(10,0)
        }
        mBinding.anr.setOnClickListener {
            Thread.sleep(10*1000)
        }
    }

}